## size 47
QUANDLES[47] := rec( total := -1, implemented := 45, size := 47, rack := [ ] );
QUANDLES[47].implemented := 1;
QUANDLES[47].rack[1] := rec( size := 47, matrix :=
[ [ 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 
      14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 ], [ 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 
      30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4 ], 
  [ 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 
      19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6 ], [ 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 
      33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8 ], 
  [ 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 
      25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10 ], [ 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 
      40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12 ], 
  [ 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 
      27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14 ], [ 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 
      42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16 ], 
  [ 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 
      31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18 ], [ 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 
      46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20 ], 
  [ 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 
      35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22 ], [ 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 
      3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24 ], 
  [ 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 
      39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26 ], [ 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 
      9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28 ], 
  [ 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 
      45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30 ], [ 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 
      15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32 ], 
  [ 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 
      2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34 ], [ 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 
      18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36 ], 
  [ 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 
      6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38 ], [ 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 
      21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40 ], 
  [ 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 
      10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42 ], [ 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 
      25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44 ], 
  [ 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 
      14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46 ], [ 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 
      29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 ], 
  [ 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 
      18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3 ], [ 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 
      32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5 ], 
  [ 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 
      22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7 ], [ 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 
      36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9 ], 
  [ 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 
      25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11 ], [ 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 
      40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13 ], 
  [ 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 
      28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15 ], [ 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 
      43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17 ], 
  [ 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 
      32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19 ], [ 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 
      47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21 ], 
  [ 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 
      36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23 ], [ 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 
      5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25 ], 
  [ 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 
      41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27 ], [ 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 
      11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29 ], 
  [ 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 
      46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31 ], [ 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 
      16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33 ], 
  [ 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 
      3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35 ], [ 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 
      19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37 ], 
  [ 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 
      7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41, 40, 39 ], [ 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 
      22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43, 42, 41 ], 
  [ 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 
      11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45, 44, 43 ], [ 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 
      26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47, 46, 45 ], 
  [ 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 
      15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 47 ] ]);
QUANDLES[47].implemented := 2;
QUANDLES[47].rack[2] := rec( size := 47, matrix :=
[ [ 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 
      8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16 ], [ 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 
      46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32 ], 
  [ 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 
      23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1 ], [ 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 
      46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17 ], 
  [ 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 
      8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33 ], [ 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 
      46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2 ], 
  [ 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 
      8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18 ], [ 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 
      46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34 ], 
  [ 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 
      25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3 ], [ 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 
      16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19 ], 
  [ 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 
      25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35 ], [ 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 
      16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4 ], 
  [ 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 
      10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20 ], [ 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 
      1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36 ], 
  [ 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 
      42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5 ], [ 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 
      18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21 ], 
  [ 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 
      27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37 ], [ 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 
      18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6 ], 
  [ 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 
      12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22 ], [ 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 
      35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38 ], 
  [ 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 
      29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7 ], [ 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 
      5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23 ], 
  [ 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 
      14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39 ], [ 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 
      37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8 ], 
  [ 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 
      46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24 ], [ 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 
      22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40 ], 
  [ 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 
      31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9 ], [ 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 
      7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25 ], 
  [ 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 
      16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41 ], [ 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 
      39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10 ], 
  [ 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 
      1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26 ], [ 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 
      24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42 ], 
  [ 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 
      33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11 ], [ 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 
      9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27 ], 
  [ 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 
      18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43 ], [ 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 
      41, 26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12 ], 
  [ 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 
      3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28 ], [ 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 
      26, 11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44 ], 
  [ 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 
      35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13 ], [ 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 
      11, 43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29 ], 
  [ 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 
      20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45 ], [ 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 
      43, 28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14 ], 
  [ 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 
      5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30 ], [ 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 
      28, 13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46 ], 
  [ 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 
      37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15 ], [ 16, 1, 33, 18, 3, 35, 20, 5, 37, 22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 
      13, 45, 30, 15, 47, 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31 ], 
  [ 32, 17, 2, 34, 19, 4, 36, 21, 6, 38, 23, 8, 40, 25, 10, 42, 27, 12, 44, 29, 14, 46, 31, 16, 1, 33, 18, 3, 35, 20, 5, 37, 
      22, 7, 39, 24, 9, 41, 26, 11, 43, 28, 13, 45, 30, 15, 47 ] ]);
QUANDLES[47].implemented := 3;
QUANDLES[47].rack[3] := rec( size := 47, matrix :=
[ [ 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 
      37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11 ], [ 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 
      37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22 ], 
  [ 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 
      32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33 ], [ 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 
      32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44 ], 
  [ 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 
      7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8 ], [ 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 
      7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19 ], 
  [ 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 
      29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30 ], [ 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 
      29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41 ], 
  [ 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 
      4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5 ], [ 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 
      4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16 ], 
  [ 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 
      36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27 ], [ 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 
      36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38 ], 
  [ 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 
      1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2 ], [ 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 
      1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13 ], 
  [ 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 
      33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24 ], [ 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 
      33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35 ], 
  [ 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 
      45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46 ], [ 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 
      45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10 ], 
  [ 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 
      20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21 ], [ 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 
      20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32 ], 
  [ 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 
      42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43 ], [ 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 
      42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7 ], 
  [ 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 
      17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18 ], [ 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 
      17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29 ], 
  [ 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 
      39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40 ], [ 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 
      39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4 ], 
  [ 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 
      14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15 ], [ 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 
      14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26 ], 
  [ 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 
      36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37 ], [ 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 
      36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1 ], 
  [ 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 
      11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12 ], [ 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 
      11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23 ], 
  [ 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 
      33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34 ], [ 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 
      33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45 ], 
  [ 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 
      8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9 ], [ 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 
      8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20 ], 
  [ 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 
      40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31 ], [ 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 
      40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42 ], 
  [ 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 
      5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6 ], [ 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 
      5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17 ], 
  [ 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 
      27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28 ], [ 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 
      27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39 ], 
  [ 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 
      2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3 ], [ 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 
      2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 24, 14 ], 
  [ 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 
      24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25 ], [ 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47, 37, 27, 17, 7, 44, 34, 
      24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 46, 36 ], 
  [ 37, 27, 17, 7, 44, 34, 24, 14, 4, 41, 31, 21, 11, 1, 38, 28, 18, 8, 45, 35, 25, 15, 5, 42, 32, 22, 12, 2, 39, 29, 19, 9, 
      46, 36, 26, 16, 6, 43, 33, 23, 13, 3, 40, 30, 20, 10, 47 ] ]);
QUANDLES[47].implemented := 4;
QUANDLES[47].rack[4] := rec( size := 47, matrix :=
[ [ 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 
      25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39 ], [ 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 
      41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31 ], 
  [ 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 
      38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23 ], [ 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 
      7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15 ], 
  [ 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 
      22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7 ], [ 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 
      38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46 ], 
  [ 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 
      6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38 ], [ 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 
      22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30 ], 
  [ 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 
      37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22 ], [ 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 
      6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14 ], 
  [ 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 
      21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6 ], [ 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 
      37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45 ], 
  [ 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 
      5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37 ], [ 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 
      21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29 ], 
  [ 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 
      36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21 ], [ 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 
      5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13 ], 
  [ 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 
      20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5 ], [ 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 
      36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44 ], 
  [ 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 
      4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36 ], [ 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 
      20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28 ], 
  [ 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 
      35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20 ], [ 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 
      4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12 ], 
  [ 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 
      19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4 ], [ 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 
      35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43 ], 
  [ 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 
      3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35 ], [ 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 
      19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27 ], 
  [ 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 
      34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19 ], [ 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 
      3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11 ], 
  [ 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 
      18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3 ], [ 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 
      34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42 ], 
  [ 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 
      2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34 ], [ 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 
      18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26 ], 
  [ 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 
      33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18 ], [ 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 
      2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10 ], 
  [ 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 
      17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2 ], [ 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 
      33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41 ], 
  [ 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 
      1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33 ], [ 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 
      17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25 ], 
  [ 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 
      32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17 ], [ 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 
      1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9 ], 
  [ 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 
      16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1 ], [ 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 
      32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40 ], 
  [ 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 
      47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32 ], [ 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 
      16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24 ], 
  [ 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 
      31, 40, 2, 11, 20, 29, 38, 47, 9, 18, 27, 36, 45, 7, 16 ], [ 17, 26, 35, 44, 6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 
      47, 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8 ], 
  [ 9, 18, 27, 36, 45, 7, 16, 25, 34, 43, 5, 14, 23, 32, 41, 3, 12, 21, 30, 39, 1, 10, 19, 28, 37, 46, 8, 17, 26, 35, 44, 
      6, 15, 24, 33, 42, 4, 13, 22, 31, 40, 2, 11, 20, 29, 38, 47 ] ]);
QUANDLES[47].implemented := 5;
QUANDLES[47].rack[5] := rec( size := 47, matrix :=
[ [ 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 
      23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42 ], [ 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 
      34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37 ], 
  [ 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 
      42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32 ], [ 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 
      6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27 ], 
  [ 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 
      26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22 ], [ 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 
      37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17 ], 
  [ 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 
      22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12 ], [ 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 
      33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7 ], 
  [ 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 
      12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2 ], [ 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 
      23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44 ], 
  [ 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 
      2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39 ], [ 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 
      13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34 ], 
  [ 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 
      39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29 ], [ 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 
      3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24 ], 
  [ 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 
      29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19 ], [ 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 
      40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14 ], 
  [ 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 
      19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9 ], [ 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 
      30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4 ], 
  [ 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 
      3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46 ], [ 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 
      14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41 ], 
  [ 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 
      46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36 ], [ 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 
      10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31 ], 
  [ 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 
      36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26 ], [ 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 
      47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21 ], 
  [ 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 
      20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16 ], [ 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 
      31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11 ], 
  [ 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 
      16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6 ], [ 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 
      27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1 ], 
  [ 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 
      6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43 ], [ 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 
      17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38 ], 
  [ 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 
      43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33 ], [ 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 
      7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28 ], 
  [ 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 
      33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23 ], [ 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 
      44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18 ], 
  [ 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 
      23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13 ], [ 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 
      34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8 ], 
  [ 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 
      13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3 ], [ 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 
      24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45 ], 
  [ 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 
      3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40 ], [ 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 
      14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35 ], 
  [ 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 
      40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30 ], [ 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 
      4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25 ], 
  [ 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 
      30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20 ], [ 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 
      41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15 ], 
  [ 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 
      14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10 ], [ 11, 17, 23, 29, 35, 41, 47, 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 
      25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 10, 16, 22, 28, 34, 40, 46, 5 ], 
  [ 6, 12, 18, 24, 30, 36, 42, 1, 7, 13, 19, 25, 31, 37, 43, 2, 8, 14, 20, 26, 32, 38, 44, 3, 9, 15, 21, 27, 33, 39, 45, 4, 
      10, 16, 22, 28, 34, 40, 46, 5, 11, 17, 23, 29, 35, 41, 47 ] ]);
QUANDLES[47].implemented := 6;
QUANDLES[47].rack[6] := rec( size := 47, matrix :=
[ [ 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 
      47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44 ], [ 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 
      35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41 ], 
  [ 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 
      33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38 ], [ 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 
      25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35 ], 
  [ 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 
      23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32 ], [ 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 
      15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29 ], 
  [ 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 
      17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26 ], [ 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 
      9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23 ], 
  [ 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 
      11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20 ], [ 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 
      46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17 ], 
  [ 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 
      5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14 ], [ 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 
      44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11 ], 
  [ 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 
      46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8 ], [ 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 
      38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5 ], 
  [ 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 
      40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2 ], [ 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 
      32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46 ], 
  [ 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 
      34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43 ], [ 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 
      26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40 ], 
  [ 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 
      28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37 ], [ 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 
      20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34 ], 
  [ 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 
      22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31 ], [ 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 
      14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28 ], 
  [ 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 
      16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25 ], [ 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 
      8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22 ], 
  [ 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 
      10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19 ], [ 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 
      45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16 ], 
  [ 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 
      4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13 ], [ 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 
      43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10 ], 
  [ 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 
      45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7 ], [ 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 
      37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4 ], 
  [ 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 
      39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1 ], [ 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 
      31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45 ], 
  [ 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 
      33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42 ], [ 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 
      25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39 ], 
  [ 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 
      27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36 ], [ 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 
      19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33 ], 
  [ 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 
      21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30 ], [ 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 
      13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27 ], 
  [ 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 
      15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24 ], [ 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 
      3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21 ], 
  [ 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 
      9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18 ], [ 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 
      44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15 ], 
  [ 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 
      3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12 ], [ 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 
      42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9 ], 
  [ 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 
      44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6 ], [ 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 4, 8, 12, 16, 20, 24, 28, 32, 
      36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 3 ], 
  [ 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 2, 6, 10, 14, 18, 22, 26, 30, 
      34, 38, 42, 46, 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47 ] ]);
QUANDLES[47].implemented := 7;
QUANDLES[47].rack[7] := rec( size := 47, matrix :=
[ [ 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 
      29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14 ], [ 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 
      24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28 ], 
  [ 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 
      36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42 ], [ 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 
      44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9 ], 
  [ 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 
      17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23 ], [ 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 
      12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37 ], 
  [ 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 
      45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4 ], [ 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 
      40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18 ], 
  [ 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 
      26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32 ], [ 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 
      34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46 ], 
  [ 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 
      7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13 ], [ 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 
      2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27 ], 
  [ 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 
      35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41 ], [ 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 
      30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8 ], 
  [ 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 
      16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22 ], [ 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 
      11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36 ], 
  [ 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 
      44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3 ], [ 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 
      39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17 ], 
  [ 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 
      25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31 ], [ 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 
      20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45 ], 
  [ 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 
      6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12 ], [ 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 
      1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26 ], 
  [ 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 
      47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40 ], [ 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 
      42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7 ], 
  [ 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 
      28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21 ], [ 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 
      23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35 ], 
  [ 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 
      43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2 ], [ 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 
      38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16 ], 
  [ 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 
      24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30 ], [ 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 
      19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44 ], 
  [ 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 
      5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11 ], [ 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 
      47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25 ], 
  [ 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 
      33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39 ], [ 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 
      28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6 ], 
  [ 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 
      14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20 ], [ 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 
      9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34 ], 
  [ 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 
      42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1 ], [ 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 
      37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15 ], 
  [ 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 
      23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29 ], [ 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 
      31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43 ], 
  [ 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 
      4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10 ], [ 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 
      46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24 ], 
  [ 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 
      32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38 ], [ 39, 26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 
      27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5 ], 
  [ 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 
      26, 13, 47, 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19 ], [ 20, 7, 41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47, 
      34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33 ], 
  [ 34, 21, 8, 42, 29, 16, 3, 37, 24, 11, 45, 32, 19, 6, 40, 27, 14, 1, 35, 22, 9, 43, 30, 17, 4, 38, 25, 12, 46, 33, 20, 7, 
      41, 28, 15, 2, 36, 23, 10, 44, 31, 18, 5, 39, 26, 13, 47 ] ]);
QUANDLES[47].implemented := 8;
QUANDLES[47].rack[8] := rec( size := 47, matrix :=
[ [ 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 
      11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41 ], [ 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 
      8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35 ], 
  [ 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 
      25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29 ], [ 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 
      22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23 ], 
  [ 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 
      13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17 ], [ 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 
      10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11 ], 
  [ 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 
      1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5 ], [ 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 
      45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46 ], 
  [ 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 
      36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40 ], [ 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 
      33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34 ], 
  [ 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 
      24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28 ], [ 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 
      14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22 ], 
  [ 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 
      12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16 ], [ 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 
      9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10 ], 
  [ 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 
      47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4 ], [ 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 
      44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45 ], 
  [ 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 
      35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39 ], [ 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 
      32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33 ], 
  [ 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 
      23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27 ], [ 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 
      20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21 ], 
  [ 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 
      11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15 ], [ 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 
      8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9 ], 
  [ 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 
      46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3 ], [ 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 
      43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44 ], 
  [ 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 
      34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38 ], [ 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 
      31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32 ], 
  [ 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 
      22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26 ], [ 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 
      19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20 ], 
  [ 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 
      10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14 ], [ 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 
      47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8 ], 
  [ 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 
      38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2 ], [ 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 
      35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43 ], 
  [ 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 
      33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37 ], [ 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 
      30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31 ], 
  [ 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 
      21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25 ], [ 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 
      18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19 ], 
  [ 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 
      9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13 ], [ 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 
      6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7 ], 
  [ 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 
      37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1 ], [ 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 
      34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42 ], 
  [ 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 
      32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36 ], [ 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 
      29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30 ], 
  [ 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 
      20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24 ], [ 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 
      17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18 ], 
  [ 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 
      8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12 ], [ 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 36, 43, 3, 10, 17, 24, 31, 38, 45, 
      5, 12, 19, 26, 33, 40, 47, 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6 ], 
  [ 7, 14, 21, 28, 35, 42, 2, 9, 16, 23, 30, 37, 44, 4, 11, 18, 25, 32, 39, 46, 6, 13, 20, 27, 34, 41, 1, 8, 15, 22, 29, 
      36, 43, 3, 10, 17, 24, 31, 38, 45, 5, 12, 19, 26, 33, 40, 47 ] ]);
QUANDLES[47].implemented := 9;
QUANDLES[47].rack[9] := rec( size := 47, matrix :=
[ [ 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 
      3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12 ], [ 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 
      17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24 ], 
  [ 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 
      2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36 ], [ 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 
      16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1 ], 
  [ 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 
      37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13 ], [ 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 
      4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25 ], 
  [ 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 
      3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37 ], [ 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 
      17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2 ], 
  [ 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 
      38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14 ], [ 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 
      16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26 ], 
  [ 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 
      4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38 ], [ 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 
      18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3 ], 
  [ 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 
      28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15 ], [ 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 
      42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27 ], 
  [ 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 
      5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39 ], [ 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 
      19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4 ], 
  [ 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 
      40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16 ], [ 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 
      7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28 ], 
  [ 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 
      6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40 ], [ 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 
      20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5 ], 
  [ 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 
      41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17 ], [ 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 
      19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29 ], 
  [ 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 
      7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41 ], [ 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 
      21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6 ], 
  [ 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 
      31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18 ], [ 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 
      45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30 ], 
  [ 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 
      8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42 ], [ 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 
      22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7 ], 
  [ 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 
      32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19 ], [ 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 
      46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31 ], 
  [ 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 
      9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43 ], [ 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 
      23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8 ], 
  [ 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 
      44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20 ], [ 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 
      22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32 ], 
  [ 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 
      10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44 ], [ 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 
      24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9 ], 
  [ 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 
      34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21 ], [ 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 
      1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33 ], 
  [ 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 
      11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45 ], [ 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 
      25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10 ], 
  [ 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 
      35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22 ], [ 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 
      2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34 ], 
  [ 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 
      12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46 ], [ 47, 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 
      26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11 ], 
  [ 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 
      36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23 ], [ 24, 13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47, 36, 25, 14, 
      3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35 ], 
  [ 36, 25, 14, 3, 39, 28, 17, 6, 42, 31, 20, 9, 45, 34, 23, 12, 1, 37, 26, 15, 4, 40, 29, 18, 7, 43, 32, 21, 10, 46, 35, 24, 
      13, 2, 38, 27, 16, 5, 41, 30, 19, 8, 44, 33, 22, 11, 47 ] ]);
QUANDLES[47].implemented := 10;
QUANDLES[47].rack[10] := rec( size := 47, matrix :=
[ [ 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 
      18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24 ], [ 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 
      12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1 ], 
  [ 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 
      18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25 ], [ 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 
      12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2 ], 
  [ 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 
      19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26 ], [ 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 
      13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3 ], 
  [ 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 
      20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27 ], [ 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 
      14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4 ], 
  [ 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 
      44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28 ], [ 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 
      38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5 ], 
  [ 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 
      45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29 ], [ 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 
      39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6 ], 
  [ 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 
      46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30 ], [ 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 
      40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7 ], 
  [ 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 
      47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31 ], [ 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 
      41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8 ], 
  [ 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 
      1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32 ], [ 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 
      42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9 ], 
  [ 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 
      2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33 ], [ 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 
      43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10 ], 
  [ 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 
      3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34 ], [ 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 
      44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11 ], 
  [ 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 
      4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35 ], [ 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 
      45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12 ], 
  [ 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 
      5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36 ], [ 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 
      22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13 ], 
  [ 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 
      6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37 ], [ 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 
      23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14 ], 
  [ 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 
      7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38 ], [ 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 
      24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15 ], 
  [ 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 
      8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39 ], [ 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 
      25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16 ], 
  [ 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 
      9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40 ], [ 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 
      26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17 ], 
  [ 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 
      34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41 ], [ 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 
      4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18 ], 
  [ 19, 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 
      35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42 ], [ 43, 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 
      5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19 ], 
  [ 20, 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 
      36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43 ], [ 44, 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 
      30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20 ], 
  [ 21, 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 
      14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44 ], [ 45, 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 
      8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21 ], 
  [ 22, 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 
      15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45 ], [ 46, 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 
      9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22 ], 
  [ 23, 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 
      16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46 ], [ 47, 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 
      10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23 ], 
  [ 24, 1, 25, 2, 26, 3, 27, 4, 28, 5, 29, 6, 30, 7, 31, 8, 32, 9, 33, 10, 34, 11, 35, 12, 36, 13, 37, 14, 38, 15, 39, 16, 40, 
      17, 41, 18, 42, 19, 43, 20, 44, 21, 45, 22, 46, 23, 47 ] ]);
QUANDLES[47].implemented := 11;
QUANDLES[47].rack[11] := rec( size := 47, matrix :=
[ [ 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 
      28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32 ], [ 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 
      40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17 ], 
  [ 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 
      13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2 ], [ 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 
      25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34 ], 
  [ 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 
      30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19 ], [ 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 
      42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4 ], 
  [ 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 
      47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36 ], [ 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 
      12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21 ], 
  [ 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 
      17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6 ], [ 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 
      29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38 ], 
  [ 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 
      18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23 ], [ 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 
      30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8 ], 
  [ 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 
      35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40 ], [ 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 
      31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25 ], 
  [ 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 
      5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10 ], [ 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 
      17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42 ], 
  [ 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 
      22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27 ], [ 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 
      18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12 ], 
  [ 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 
      8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44 ], [ 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 
      20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29 ], 
  [ 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 
      25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14 ], [ 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 
      21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46 ], 
  [ 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 
      42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31 ], [ 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 
      7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16 ], 
  [ 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 
      12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1 ], [ 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 
      24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33 ], 
  [ 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 
      29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18 ], [ 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 
      41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3 ], 
  [ 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 
      46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35 ], [ 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 
      11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20 ], 
  [ 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 
      16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5 ], [ 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 
      28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37 ], 
  [ 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 
      33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22 ], [ 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 
      45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7 ], 
  [ 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 
      34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39 ], [ 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 
      46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24 ], 
  [ 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 
      4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9 ], [ 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 
      16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41 ], 
  [ 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 
      21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26 ], [ 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 
      17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11 ], 
  [ 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 
      38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43 ], [ 44, 13, 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 
      34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28 ], 
  [ 29, 45, 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 
      24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13 ], [ 14, 30, 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 
      20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45 ], 
  [ 46, 15, 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 
      41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30 ], [ 31, 47, 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 
      37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15 ], 
  [ 16, 32, 1, 17, 33, 2, 18, 34, 3, 19, 35, 4, 20, 36, 5, 21, 37, 6, 22, 38, 7, 23, 39, 8, 24, 40, 9, 25, 41, 10, 26, 42, 
      11, 27, 43, 12, 28, 44, 13, 29, 45, 14, 30, 46, 15, 31, 47 ] ]);
QUANDLES[47].implemented := 12;
QUANDLES[47].rack[12] := rec( size := 47, matrix :=
[ [ 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 
      19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6 ], [ 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 
      43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12 ], 
  [ 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 
      41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18 ], [ 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 
      18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24 ], 
  [ 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 
      6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30 ], [ 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 
      30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36 ], 
  [ 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 
      18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42 ], [ 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 
      42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1 ], 
  [ 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 
      30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7 ], [ 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 
      12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13 ], 
  [ 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 
      47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19 ], [ 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 
      29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25 ], 
  [ 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 
      7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31 ], [ 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 
      31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37 ], 
  [ 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 
      19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43 ], [ 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 
      43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2 ], 
  [ 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 
      31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8 ], [ 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 
      8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14 ], 
  [ 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 
      43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20 ], [ 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 
      20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26 ], 
  [ 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 
      8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32 ], [ 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 
      32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38 ], 
  [ 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 
      20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44 ], [ 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 
      44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3 ], 
  [ 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 
      32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9 ], [ 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 
      9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15 ], 
  [ 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 
      2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21 ], [ 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 
      26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27 ], 
  [ 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 
      9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33 ], [ 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 
      33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39 ], 
  [ 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 
      21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45 ], [ 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 
      45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4 ], 
  [ 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 
      33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10 ], [ 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 
      10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16 ], 
  [ 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 
      45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22 ], [ 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 
      27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28 ], 
  [ 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 
      15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34 ], [ 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 
      39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40 ], 
  [ 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 
      22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46 ], [ 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 
      46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5 ], 
  [ 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 
      34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11 ], [ 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 
      11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17 ], 
  [ 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 
      46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23 ], [ 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 
      23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29 ], 
  [ 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 
      11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 35 ], [ 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 23, 18, 13, 8, 3, 45, 40, 
      35, 30, 25, 20, 15, 10, 5, 47, 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41 ], 
  [ 42, 37, 32, 27, 22, 17, 12, 7, 2, 44, 39, 34, 29, 24, 19, 14, 9, 4, 46, 41, 36, 31, 26, 21, 16, 11, 6, 1, 43, 38, 33, 28, 
      23, 18, 13, 8, 3, 45, 40, 35, 30, 25, 20, 15, 10, 5, 47 ] ]);
QUANDLES[47].implemented := 13;
QUANDLES[47].rack[13] := rec( size := 47, matrix :=
[ [ 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 
      13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20 ], [ 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 
      45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40 ], 
  [ 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 
      44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13 ], [ 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 
      29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33 ], 
  [ 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 
      37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6 ], [ 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 
      22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26 ], 
  [ 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 
      30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46 ], [ 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 
      15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19 ], 
  [ 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 
      23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39 ], [ 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 
      8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12 ], 
  [ 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 
      16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32 ], [ 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 
      1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5 ], 
  [ 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 
      28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25 ], [ 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 
      13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45 ], 
  [ 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 
      2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18 ], [ 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 
      34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38 ], 
  [ 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 
      42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11 ], [ 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 
      27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31 ], 
  [ 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 
      35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4 ], [ 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 
      20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24 ], 
  [ 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 
      28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44 ], [ 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 
      13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17 ], 
  [ 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 
      21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37 ], [ 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 
      6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10 ], 
  [ 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 
      14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30 ], [ 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 
      46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3 ], 
  [ 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 
      26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23 ], [ 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 
      11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43 ], 
  [ 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 
      47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16 ], [ 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 
      32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36 ], 
  [ 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 
      40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9 ], [ 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 
      25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29 ], 
  [ 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 
      33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2 ], [ 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 
      18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22 ], 
  [ 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 
      26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42 ], [ 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 
      11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15 ], 
  [ 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 
      19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35 ], [ 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 
      4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8 ], 
  [ 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 
      31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28 ], [ 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 
      35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1 ], 
  [ 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 
      5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21 ], [ 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 
      37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41 ], 
  [ 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 
      45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14 ], [ 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 
      30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34 ], 
  [ 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 
      38, 19, 47, 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7 ], [ 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 
      23, 4, 32, 13, 41, 22, 3, 31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47, 28, 9, 37, 18, 46, 27 ], 
  [ 28, 9, 37, 18, 46, 27, 8, 36, 17, 45, 26, 7, 35, 16, 44, 25, 6, 34, 15, 43, 24, 5, 33, 14, 42, 23, 4, 32, 13, 41, 22, 3, 
      31, 12, 40, 21, 2, 30, 11, 39, 20, 1, 29, 10, 38, 19, 47 ] ]);
QUANDLES[47].implemented := 14;
QUANDLES[47].rack[14] := rec( size := 47, matrix :=
[ [ 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 
      12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45 ], [ 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 
      18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43 ], 
  [ 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 
      46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41 ], [ 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 
      5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39 ], 
  [ 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 
      39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37 ], [ 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 
      45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35 ], 
  [ 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 
      35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33 ], [ 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 
      41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31 ], 
  [ 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 
      34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29 ], [ 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 
      40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27 ], 
  [ 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 
      30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25 ], [ 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 
      36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23 ], 
  [ 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 
      26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21 ], [ 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 
      32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19 ], 
  [ 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 
      22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17 ], [ 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 
      28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15 ], 
  [ 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 
      18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13 ], [ 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 
      24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11 ], 
  [ 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 
      14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9 ], [ 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 
      20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7 ], 
  [ 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 
      10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5 ], [ 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 
      16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3 ], 
  [ 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 
      6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1 ], [ 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 
      12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46 ], 
  [ 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 
      2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44 ], [ 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 
      8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42 ], 
  [ 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 
      45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40 ], [ 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 
      4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38 ], 
  [ 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 
      38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36 ], [ 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 
      44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34 ], 
  [ 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 
      37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32 ], [ 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 
      43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30 ], 
  [ 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 
      33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28 ], [ 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 
      39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26 ], 
  [ 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 
      29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24 ], [ 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 
      35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22 ], 
  [ 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 
      25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20 ], [ 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 
      31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18 ], 
  [ 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 
      21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16 ], [ 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 
      27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14 ], 
  [ 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 
      17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12 ], [ 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 
      23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10 ], 
  [ 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 
      13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8 ], [ 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 
      19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6 ], 
  [ 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 
      9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4 ], [ 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47, 3, 6, 9, 12, 
      15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2 ], 
  [ 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 2, 
      5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44, 47 ] ]);
QUANDLES[47].implemented := 15;
QUANDLES[47].rack[15] := rec( size := 47, matrix :=
[ [ 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 
      24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46 ], [ 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 
      42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45 ], 
  [ 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 
      14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44 ], [ 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 
      32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43 ], 
  [ 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 
      12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42 ], [ 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 
      30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41 ], 
  [ 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 
      12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40 ], [ 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 
      30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39 ], 
  [ 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 
      10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38 ], [ 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 
      28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37 ], 
  [ 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 
      8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36 ], [ 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 
      26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35 ], 
  [ 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 
      6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34 ], [ 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 
      26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33 ], 
  [ 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 
      4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32 ], [ 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 
      24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31 ], 
  [ 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 
      2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30 ], [ 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 
      22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29 ], 
  [ 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 
      47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 ], [ 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 
      20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27 ], 
  [ 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 
      45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26 ], [ 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 
      18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25 ], 
  [ 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 
      43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24 ], [ 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 
      16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23 ], 
  [ 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 
      41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22 ], [ 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 
      14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 ], 
  [ 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 
      39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 ], [ 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 
      12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19 ], 
  [ 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 
      37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18 ], [ 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 
      10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17 ], 
  [ 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 
      35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16 ], [ 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 
      8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15 ], 
  [ 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 
      33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14 ], [ 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 
      6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13 ], 
  [ 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 
      31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12 ], [ 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 
      2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11 ], 
  [ 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 
      27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10 ], [ 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 
      45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9 ], 
  [ 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 
      25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6, 8 ], [ 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 
      43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7 ], 
  [ 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 
      23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4, 6 ], [ 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 
      41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5 ], 
  [ 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 
      21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2, 4 ], [ 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 
      39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3 ], 
  [ 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 17, 
      19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 2 ], [ 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 
      37, 39, 41, 43, 45, 47, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1 ], 
  [ 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 1, 3, 5, 7, 9, 11, 13, 15, 
      17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47 ] ]);
QUANDLES[47].implemented := 16;
QUANDLES[47].rack[16] := rec( size := 47, matrix :=
[ [ 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 
      15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31 ], [ 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 
      13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15 ], 
  [ 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 
      43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46 ], [ 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 
      41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30 ], 
  [ 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 
      11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14 ], [ 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 
      9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45 ], 
  [ 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 
      26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29 ], [ 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 
      24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13 ], 
  [ 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 
      41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44 ], [ 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 
      39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28 ], 
  [ 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 
      9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12 ], [ 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 
      7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43 ], 
  [ 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 
      7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27 ], [ 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 
      5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11 ], 
  [ 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 
      39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42 ], [ 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 
      37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26 ], 
  [ 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 
      7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10 ], [ 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 
      5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41 ], 
  [ 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 
      22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25 ], [ 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 
      20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9 ], 
  [ 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 
      37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40 ], [ 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 
      35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24 ], 
  [ 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 
      5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8 ], [ 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 
      3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39 ], 
  [ 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 
      20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23 ], [ 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 
      18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7 ], 
  [ 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 
      35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38 ], [ 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 
      33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22 ], 
  [ 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 
      3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6 ], [ 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 
      1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37 ], 
  [ 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 
      18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21 ], [ 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 
      16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5 ], 
  [ 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 
      33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36 ], [ 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 
      31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20 ], 
  [ 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 
      1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4 ], [ 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 
      46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35 ], 
  [ 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 
      16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19 ], [ 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 
      14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3 ], 
  [ 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 
      14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34 ], [ 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 
      12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18 ], 
  [ 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 
      46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2 ], [ 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 
      44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33 ], 
  [ 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 
      14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17 ], [ 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 
      12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1 ], 
  [ 2, 19, 36, 6, 23, 40, 10, 27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 
      29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32 ], [ 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 
      27, 44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47, 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16 ], 
  [ 17, 34, 4, 21, 38, 8, 25, 42, 12, 29, 46, 16, 33, 3, 20, 37, 7, 24, 41, 11, 28, 45, 15, 32, 2, 19, 36, 6, 23, 40, 10, 27, 
      44, 14, 31, 1, 18, 35, 5, 22, 39, 9, 26, 43, 13, 30, 47 ] ]);
QUANDLES[47].implemented := 17;
QUANDLES[47].rack[17] := rec( size := 47, matrix :=
[ [ 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 
      26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21 ], [ 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 
      25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42 ], 
  [ 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 
      14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16 ], [ 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 
      13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37 ], 
  [ 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 
      9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11 ], [ 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 
      8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32 ], 
  [ 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 
      4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6 ], [ 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 
      3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27 ], 
  [ 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 
      46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1 ], [ 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 
      45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22 ], 
  [ 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 
      41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43 ], [ 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 
      40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17 ], 
  [ 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 
      36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38 ], [ 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 
      35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12 ], 
  [ 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 
      31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33 ], [ 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 
      30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7 ], 
  [ 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 
      26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28 ], [ 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 
      25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2 ], 
  [ 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 
      21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23 ], [ 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 
      20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44 ], 
  [ 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 
      16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18 ], [ 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 
      15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39 ], 
  [ 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 
      11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13 ], [ 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 
      10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34 ], 
  [ 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 
      6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8 ], [ 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 
      5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29 ], 
  [ 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 
      1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3 ], [ 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 
      47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24 ], 
  [ 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 
      43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45 ], [ 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 
      42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19 ], 
  [ 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 
      38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40 ], [ 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 
      37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14 ], 
  [ 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 
      33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35 ], [ 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 
      32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9 ], 
  [ 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 
      28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30 ], [ 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 
      27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4 ], 
  [ 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 
      43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25 ], [ 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 
      42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46 ], 
  [ 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 
      18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20 ], [ 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 
      17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41 ], 
  [ 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 
      13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15 ], [ 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 
      12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36 ], 
  [ 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 
      8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10 ], [ 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 
      7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31 ], 
  [ 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 
      23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5 ], [ 6, 33, 13, 40, 20, 47, 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 
      22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 45, 25, 5, 32, 12, 39, 19, 46, 26 ], 
  [ 27, 7, 34, 14, 41, 21, 1, 28, 8, 35, 15, 42, 22, 2, 29, 9, 36, 16, 43, 23, 3, 30, 10, 37, 17, 44, 24, 4, 31, 11, 38, 18, 
      45, 25, 5, 32, 12, 39, 19, 46, 26, 6, 33, 13, 40, 20, 47 ] ]);
QUANDLES[47].implemented := 18;
QUANDLES[47].rack[18] := rec( size := 47, matrix :=
[ [ 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 
      2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30 ], [ 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 
      33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13 ], 
  [ 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 
      26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43 ], [ 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 
      39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26 ], 
  [ 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 
      39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9 ], [ 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 
      23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39 ], 
  [ 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 
      5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22 ], [ 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 
      36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5 ], 
  [ 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 
      47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35 ], [ 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 
      13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18 ], 
  [ 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 
      31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1 ], [ 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 
      15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31 ], 
  [ 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 
      44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14 ], [ 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 
      10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44 ], 
  [ 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 
      10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27 ], [ 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 
      41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10 ], 
  [ 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 
      23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40 ], [ 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 
      7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23 ], 
  [ 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 
      36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6 ], [ 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 
      20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36 ], 
  [ 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 
      2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19 ], [ 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 
      33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2 ], 
  [ 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 
      15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32 ], [ 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 
      28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15 ], 
  [ 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 
      28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45 ], [ 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 
      12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28 ], 
  [ 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 
      41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11 ], [ 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 
      25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41 ], 
  [ 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 
      7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24 ], [ 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 
      38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7 ], 
  [ 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 
      2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37 ], [ 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 
      33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20 ], 
  [ 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 
      33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3 ], [ 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 
      17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33 ], 
  [ 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 
      28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16 ], [ 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 
      12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46 ], 
  [ 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 
      12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29 ], [ 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 
      43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12 ], 
  [ 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 
      25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42 ], [ 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 
      38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25 ], 
  [ 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 
      38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8 ], [ 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 
      22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38 ], 
  [ 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 
      4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21 ], [ 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 
      17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4 ], 
  [ 5, 23, 41, 12, 30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 
      46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34 ], [ 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 
      30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47, 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17 ], 
  [ 18, 36, 7, 25, 43, 14, 32, 3, 21, 39, 10, 28, 46, 17, 35, 6, 24, 42, 13, 31, 2, 20, 38, 9, 27, 45, 16, 34, 5, 23, 41, 12, 
      30, 1, 19, 37, 8, 26, 44, 15, 33, 4, 22, 40, 11, 29, 47 ] ]);
QUANDLES[47].implemented := 19;
QUANDLES[47].rack[19] := rec( size := 47, matrix :=
[ [ 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 
      33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36 ], [ 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 
      42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25 ], 
  [ 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 
      34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14 ], [ 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 
      8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3 ], 
  [ 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 
      12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39 ], [ 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 
      33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28 ], 
  [ 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 
      37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17 ], [ 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 
      11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6 ], 
  [ 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 
      3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42 ], [ 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 
      24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31 ], 
  [ 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 
      28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20 ], [ 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 
      37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9 ], 
  [ 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 
      6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45 ], [ 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 
      27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34 ], 
  [ 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 
      43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23 ], [ 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 
      17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12 ], 
  [ 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 
      21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1 ], [ 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 
      42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37 ], 
  [ 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 
      46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26 ], [ 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 
      20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15 ], 
  [ 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 
      24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4 ], [ 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 
      45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40 ], 
  [ 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 
      2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29 ], [ 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 
      23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18 ], 
  [ 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 
      27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7 ], [ 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 
      1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43 ], 
  [ 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 
      40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32 ], [ 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 
      14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21 ], 
  [ 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 
      30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10 ], [ 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 
      4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46 ], 
  [ 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 
      8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35 ], [ 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 
      29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24 ], 
  [ 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 
      33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13 ], [ 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 
      42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2 ], 
  [ 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 
      11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38 ], [ 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 
      32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27 ], 
  [ 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 
      36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16 ], [ 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 
      10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5 ], 
  [ 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 
      14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41 ], [ 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 
      35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30 ], 
  [ 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 
      27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19 ], [ 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 
      36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8 ], 
  [ 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 
      5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44 ], [ 45, 10, 22, 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 
      26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33 ], 
  [ 34, 46, 11, 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 
      42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22 ], [ 23, 35, 47, 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 
      16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11 ], 
  [ 12, 24, 36, 1, 13, 25, 37, 2, 14, 26, 38, 3, 15, 27, 39, 4, 16, 28, 40, 5, 17, 29, 41, 6, 18, 30, 42, 7, 19, 31, 43, 8, 
      20, 32, 44, 9, 21, 33, 45, 10, 22, 34, 46, 11, 23, 35, 47 ] ]);
QUANDLES[47].implemented := 20;
QUANDLES[47].rack[20] := rec( size := 47, matrix :=
[ [ 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 
      46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40 ], [ 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 
      21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33 ], 
  [ 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 
      16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26 ], [ 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 
      46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19 ], 
  [ 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 
      41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12 ], [ 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 
      24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5 ], 
  [ 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 
      19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45 ], [ 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 
      2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38 ], 
  [ 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 
      13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31 ], [ 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 
      43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24 ], 
  [ 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 
      46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17 ], [ 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 
      29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10 ], 
  [ 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 
      32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3 ], [ 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 
      15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43 ], 
  [ 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 
      18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36 ], [ 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 
      40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29 ], 
  [ 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 
      4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22 ], [ 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 
      34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15 ], 
  [ 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 
      37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8 ], [ 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 
      20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1 ], 
  [ 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 
      23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41 ], [ 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 
      6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34 ], 
  [ 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 
      9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27 ], [ 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 
      39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20 ], 
  [ 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 
      42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13 ], [ 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 
      25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6 ], 
  [ 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 
      28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46 ], [ 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 
      11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39 ], 
  [ 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 
      14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32 ], [ 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 
      36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25 ], 
  [ 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 
      47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18 ], [ 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 
      30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11 ], 
  [ 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 
      33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4 ], [ 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 
      16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44 ], 
  [ 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 
      19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37 ], [ 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 
      2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30 ], 
  [ 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 
      5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23 ], [ 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 
      35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16 ], 
  [ 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 
      38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9 ], [ 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 
      21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2 ], 
  [ 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 
      16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42 ], [ 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 
      46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35 ], 
  [ 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 
      10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28 ], [ 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 
      32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21 ], 
  [ 22, 30, 38, 46, 7, 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 
      43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14 ], [ 15, 23, 31, 39, 47, 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 
      26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7 ], 
  [ 8, 16, 24, 32, 40, 1, 9, 17, 25, 33, 41, 2, 10, 18, 26, 34, 42, 3, 11, 19, 27, 35, 43, 4, 12, 20, 28, 36, 44, 5, 13, 
      21, 29, 37, 45, 6, 14, 22, 30, 38, 46, 7, 15, 23, 31, 39, 47 ] ]);
QUANDLES[47].implemented := 21;
QUANDLES[47].rack[21] := rec( size := 47, matrix :=
[ [ 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 
      10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27 ], [ 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 
      46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7 ], 
  [ 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 
      22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34 ], [ 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 
      37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14 ], 
  [ 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 
      29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41 ], [ 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 
      18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21 ], 
  [ 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 
      36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1 ], [ 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 
      25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28 ], 
  [ 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 
      43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8 ], [ 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 
      32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35 ], 
  [ 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 
      3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15 ], [ 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 
      39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42 ], 
  [ 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 
      10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22 ], [ 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 
      46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2 ], 
  [ 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 
      17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29 ], [ 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 
      32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9 ], 
  [ 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 
      3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36 ], [ 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 
      39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16 ], 
  [ 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 
      31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43 ], [ 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 
      20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23 ], 
  [ 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 
      38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3 ], [ 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 
      27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30 ], 
  [ 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 
      45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10 ], [ 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 
      34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37 ], 
  [ 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 
      5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17 ], [ 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 
      41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44 ], 
  [ 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 
      12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24 ], [ 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 
      1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4 ], 
  [ 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 
      45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31 ], [ 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 
      34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11 ], 
  [ 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 
      26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38 ], [ 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 
      15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18 ], 
  [ 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 
      33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45 ], [ 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 
      22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25 ], 
  [ 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 
      40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5 ], [ 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 
      29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32 ], 
  [ 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 
      47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12 ], [ 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 
      36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39 ], 
  [ 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 
      7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19 ], [ 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 
      43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46 ], 
  [ 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 
      14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26 ], [ 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 
      3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6 ], 
  [ 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 
      21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33 ], [ 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 
      10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13 ], 
  [ 14, 35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 
      28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40 ], [ 41, 15, 36, 10, 31, 5, 26, 47, 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 
      17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 35, 9, 30, 4, 25, 46, 20 ], 
  [ 21, 42, 16, 37, 11, 32, 6, 27, 1, 22, 43, 17, 38, 12, 33, 7, 28, 2, 23, 44, 18, 39, 13, 34, 8, 29, 3, 24, 45, 19, 40, 14, 
      35, 9, 30, 4, 25, 46, 20, 41, 15, 36, 10, 31, 5, 26, 47 ] ]);
QUANDLES[47].implemented := 22;
QUANDLES[47].rack[22] := rec( size := 47, matrix :=
[ [ 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 
      7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34 ], [ 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 
      47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21 ], 
  [ 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 
      47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8 ], [ 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 
      40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42 ], 
  [ 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 
      21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29 ], [ 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 
      14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16 ], 
  [ 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 
      42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3 ], [ 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 
      35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37 ], 
  [ 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 
      16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24 ], [ 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 
      42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11 ], 
  [ 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 
      37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45 ], [ 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 
      30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32 ], 
  [ 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 
      11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19 ], [ 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 
      4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6 ], 
  [ 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 
      18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40 ], [ 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 
      11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27 ], 
  [ 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 
      6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14 ], [ 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 
      46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1 ], 
  [ 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 
      27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35 ], [ 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 
      20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22 ], 
  [ 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 
      1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9 ], [ 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 
      41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43 ], 
  [ 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 
      22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30 ], [ 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 
      15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17 ], 
  [ 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 
      43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4 ], [ 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 
      36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38 ], 
  [ 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 
      17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25 ], [ 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 
      10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12 ], 
  [ 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 
      38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46 ], [ 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 
      31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33 ], 
  [ 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 
      12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20 ], [ 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 
      5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7 ], 
  [ 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 
      19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41 ], [ 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 
      12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28 ], 
  [ 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 
      7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15 ], [ 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 
      47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2 ], 
  [ 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 
      28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36 ], [ 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 
      21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23 ], 
  [ 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 
      2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10 ], [ 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 
      42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44 ], 
  [ 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 
      23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31 ], [ 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 
      16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18 ], 
  [ 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 
      44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5 ], [ 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 
      37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39 ], 
  [ 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 
      18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26 ], [ 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 
      11, 25, 39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47, 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13 ], 
  [ 14, 28, 42, 9, 23, 37, 4, 18, 32, 46, 13, 27, 41, 8, 22, 36, 3, 17, 31, 45, 12, 26, 40, 7, 21, 35, 2, 16, 30, 44, 11, 25, 
      39, 6, 20, 34, 1, 15, 29, 43, 10, 24, 38, 5, 19, 33, 47 ] ]);
QUANDLES[47].implemented := 23;
QUANDLES[47].rack[23] := rec( size := 47, matrix :=
[ [ 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 
      5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23 ], [ 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 
      32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46 ], 
  [ 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 
      1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22 ], [ 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 
      28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45 ], 
  [ 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 
      22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21 ], [ 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 
      2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44 ], 
  [ 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 
      21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20 ], [ 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 
      1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43 ], 
  [ 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 
      45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19 ], [ 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 
      25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42 ], 
  [ 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 
      19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18 ], [ 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 
      46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41 ], 
  [ 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 
      43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17 ], [ 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 
      23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40 ], 
  [ 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 
      42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16 ], [ 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 
      22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39 ], 
  [ 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 
      41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15 ], [ 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 
      21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38 ], 
  [ 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 
      40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14 ], [ 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 
      20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37 ], 
  [ 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 
      39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13 ], [ 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 
      19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36 ], 
  [ 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 
      38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12 ], [ 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 
      18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35 ], 
  [ 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 
      37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11 ], [ 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 
      17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34 ], 
  [ 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 
      36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10 ], [ 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 
      16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33 ], 
  [ 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 
      35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9 ], [ 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 
      15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32 ], 
  [ 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 
      34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8 ], [ 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 
      14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31 ], 
  [ 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 
      33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7 ], [ 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 
      13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30 ], 
  [ 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 
      32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6 ], [ 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 
      12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29 ], 
  [ 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 
      31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5 ], [ 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 
      11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28 ], 
  [ 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 
      30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4 ], [ 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 
      10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27 ], 
  [ 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 
      29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3 ], [ 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 
      9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26 ], 
  [ 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 
      28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2 ], [ 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 
      8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25 ], 
  [ 26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 
      27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1 ], [ 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 26, 4, 29, 
      7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47, 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24 ], 
  [ 25, 3, 28, 6, 31, 9, 34, 12, 37, 15, 40, 18, 43, 21, 46, 24, 2, 27, 5, 30, 8, 33, 11, 36, 14, 39, 17, 42, 20, 45, 23, 1, 
      26, 4, 29, 7, 32, 10, 35, 13, 38, 16, 41, 19, 44, 22, 47 ] ]);
QUANDLES[47].implemented := 24;
QUANDLES[47].rack[24] := rec( size := 47, matrix :=
[ [ 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 
      36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29 ], [ 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 
      6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11 ], 
  [ 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 
      9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40 ], [ 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 
      26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22 ], 
  [ 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 
      20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4 ], [ 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 
      37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33 ], 
  [ 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 
      31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15 ], [ 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 
      1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44 ], 
  [ 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 
      42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26 ], [ 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 
      12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8 ], 
  [ 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 
      6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37 ], [ 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 
      23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19 ], 
  [ 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 
      17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1 ], [ 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 
      34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30 ], 
  [ 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 
      28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12 ], [ 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 
      45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41 ], 
  [ 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 
      39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23 ], [ 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 
      9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5 ], 
  [ 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 
      31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34 ], [ 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 
      1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16 ], 
  [ 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 
      14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45 ], [ 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 
      31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27 ], 
  [ 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 
      25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9 ], [ 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 
      42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38 ], 
  [ 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 
      36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20 ], [ 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 
      6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2 ], 
  [ 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 
      28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31 ], [ 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 
      45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13 ], 
  [ 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 
      11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42 ], [ 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 
      28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24 ], 
  [ 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 
      22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6 ], [ 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 
      39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35 ], 
  [ 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 
      33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17 ], [ 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 
      3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46 ], 
  [ 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 
      44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28 ], [ 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 
      14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10 ], 
  [ 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 
      8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39 ], [ 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 
      25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21 ], 
  [ 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 
      19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3 ], [ 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 
      36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32 ], 
  [ 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 
      30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14 ], [ 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 
      47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43 ], 
  [ 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 
      41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25 ], [ 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 
      11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7 ], 
  [ 8, 27, 46, 18, 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 
      33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36 ], [ 37, 9, 28, 47, 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 
      3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18 ], 
  [ 19, 38, 10, 29, 1, 20, 39, 11, 30, 2, 21, 40, 12, 31, 3, 22, 41, 13, 32, 4, 23, 42, 14, 33, 5, 24, 43, 15, 34, 6, 25, 44, 
      16, 35, 7, 26, 45, 17, 36, 8, 27, 46, 18, 37, 9, 28, 47 ] ]);
QUANDLES[47].implemented := 25;
QUANDLES[47].rack[25] := rec( size := 47, matrix :=
[ [ 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 
      40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4 ], [ 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 
      36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8 ], 
  [ 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 
      7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12 ], [ 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 
      3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16 ], 
  [ 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 
      15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20 ], [ 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 
      11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24 ], 
  [ 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 
      23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28 ], [ 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 
      19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32 ], 
  [ 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 
      31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36 ], [ 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 
      27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40 ], 
  [ 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 
      39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44 ], [ 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 
      35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1 ], 
  [ 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 
      47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5 ], [ 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 
      43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9 ], 
  [ 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 
      8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13 ], [ 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 
      4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17 ], 
  [ 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 
      19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21 ], [ 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 
      15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25 ], 
  [ 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 
      24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29 ], [ 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 
      20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33 ], 
  [ 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 
      32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37 ], [ 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 
      28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41 ], 
  [ 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 
      40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45 ], [ 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 
      36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2 ], 
  [ 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 
      1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6 ], [ 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 
      44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10 ], 
  [ 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 
      9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14 ], [ 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 
      5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18 ], 
  [ 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 
      20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22 ], [ 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 
      16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26 ], 
  [ 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 
      25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30 ], [ 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 
      21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34 ], 
  [ 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 
      33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38 ], [ 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 
      29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42 ], 
  [ 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 
      41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46 ], [ 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 
      37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3 ], 
  [ 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 
      5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7 ], [ 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 
      1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11 ], 
  [ 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 
      10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15 ], [ 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 
      6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19 ], 
  [ 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 
      21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23 ], [ 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 
      17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27 ], 
  [ 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 
      26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31 ], [ 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 
      22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35 ], 
  [ 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 
      34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39 ], [ 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 42, 39, 36, 33, 
      30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47, 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43 ], 
  [ 44, 41, 38, 35, 32, 29, 26, 23, 20, 17, 14, 11, 8, 5, 2, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 10, 7, 4, 1, 45, 
      42, 39, 36, 33, 30, 27, 24, 21, 18, 15, 12, 9, 6, 3, 47 ] ]);
QUANDLES[47].implemented := 26;
QUANDLES[47].rack[26] := rec( size := 47, matrix :=
[ [ 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 
      27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3 ], [ 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 
      9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6 ], 
  [ 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 
      39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9 ], [ 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 
      23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12 ], 
  [ 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 
      45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15 ], [ 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 
      29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18 ], 
  [ 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 
      2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21 ], [ 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 
      33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24 ], 
  [ 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 
      8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27 ], [ 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 
      37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30 ], 
  [ 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 
      14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33 ], [ 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 
      43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36 ], 
  [ 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 
      20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39 ], [ 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 
      2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42 ], 
  [ 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 
      26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45 ], [ 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 
      10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1 ], 
  [ 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 
      34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4 ], [ 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 
      16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7 ], 
  [ 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 
      40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10 ], [ 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 
      24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13 ], 
  [ 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 
      44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16 ], [ 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 
      28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19 ], 
  [ 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 
      3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22 ], [ 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 
      32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25 ], 
  [ 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 
      9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28 ], [ 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 
      36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31 ], 
  [ 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 
      15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34 ], [ 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 
      42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37 ], 
  [ 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 
      21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40 ], [ 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 
      3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43 ], 
  [ 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 
      27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46 ], [ 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 
      11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2 ], 
  [ 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 
      35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5 ], [ 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 
      17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8 ], 
  [ 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 
      41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11 ], [ 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 
      25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14 ], 
  [ 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 
      45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17 ], [ 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 
      29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20 ], 
  [ 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 
      4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23 ], [ 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 
      33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26 ], 
  [ 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 
      10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29 ], [ 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 
      39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32 ], 
  [ 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 
      16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41, 39, 37, 35 ], [ 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 
      45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38 ], 
  [ 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 
      22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47, 45, 43, 41 ], [ 42, 40, 38, 36, 34, 32, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 
      4, 2, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44 ], 
  [ 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 46, 44, 42, 40, 38, 36, 34, 32, 30, 
      28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 47 ] ]);
QUANDLES[47].implemented := 27;
QUANDLES[47].rack[27] := rec( size := 47, matrix :=
[ [ 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 
      34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18 ], [ 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 
      38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36 ], 
  [ 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 
      10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7 ], [ 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 
      14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25 ], 
  [ 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 
      46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43 ], [ 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 
      20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14 ], 
  [ 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 
      35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32 ], [ 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 
      39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3 ], 
  [ 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 
      24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21 ], [ 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 
      28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39 ], 
  [ 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 
      13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10 ], [ 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 
      17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28 ], 
  [ 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 
      2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46 ], [ 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 
      6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17 ], 
  [ 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 
      38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35 ], [ 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 
      42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6 ], 
  [ 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 
      44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24 ], [ 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 
      1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42 ], 
  [ 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 
      16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13 ], [ 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 
      37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31 ], 
  [ 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 
      5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2 ], [ 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 
      9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20 ], 
  [ 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 
      41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38 ], [ 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 
      45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9 ], 
  [ 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 
      30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27 ], [ 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 
      34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45 ], 
  [ 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 
      19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16 ], [ 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 
      23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34 ], 
  [ 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 
      8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5 ], [ 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 
      12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23 ], 
  [ 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 
      44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41 ], [ 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 
      1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12 ], 
  [ 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 
      33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30 ], [ 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 
      7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1 ], 
  [ 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 
      39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19 ], [ 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 
      43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37 ], 
  [ 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 
      11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8 ], [ 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 
      15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26 ], 
  [ 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 
      47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44 ], [ 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 
      4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15 ], 
  [ 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 
      36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33 ], [ 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 
      40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4 ], 
  [ 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 
      42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22 ], [ 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 
      46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40 ], 
  [ 41, 24, 7, 37, 20, 3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 
      14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11 ], [ 12, 42, 25, 8, 38, 21, 4, 34, 17, 47, 30, 13, 43, 26, 9, 39, 22, 5, 35, 
      18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 3, 33, 16, 46, 29 ], 
  [ 30, 13, 43, 26, 9, 39, 22, 5, 35, 18, 1, 31, 14, 44, 27, 10, 40, 23, 6, 36, 19, 2, 32, 15, 45, 28, 11, 41, 24, 7, 37, 20, 
      3, 33, 16, 46, 29, 12, 42, 25, 8, 38, 21, 4, 34, 17, 47 ] ]);
QUANDLES[47].implemented := 28;
QUANDLES[47].rack[28] := rec( size := 47, matrix :=
[ [ 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 
      23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28 ], [ 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 
      26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9 ], 
  [ 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 
      39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37 ], [ 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 
      42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18 ], 
  [ 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 
      1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46 ], [ 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 
      31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27 ], 
  [ 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 
      37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8 ], [ 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 
      40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36 ], 
  [ 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 
      19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17 ], [ 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 
      22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45 ], 
  [ 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 
      28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26 ], [ 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 
      11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7 ], 
  [ 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 
      17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35 ], [ 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 
      20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16 ], 
  [ 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 
      46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44 ], [ 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 
      29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25 ], 
  [ 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 
      8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6 ], [ 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 
      11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34 ], 
  [ 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 
      44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15 ], [ 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 
      47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43 ], 
  [ 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 
      26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24 ], [ 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 
      9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5 ], 
  [ 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 
      15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33 ], [ 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 
      18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14 ], 
  [ 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 
      24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42 ], [ 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 
      27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23 ], 
  [ 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 
      6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4 ], [ 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 
      9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32 ], 
  [ 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 
      15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13 ], [ 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 
      18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41 ], 
  [ 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 
      4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22 ], [ 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 
      7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3 ], 
  [ 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 
      33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31 ], [ 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 
      16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12 ], 
  [ 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 
      42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40 ], [ 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 
      45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21 ], 
  [ 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 
      31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2 ], [ 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 
      34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30 ], 
  [ 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 
      13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11 ], [ 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 
      43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39 ], 
  [ 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 
      22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20 ], [ 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 
      25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1 ], 
  [ 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 
      11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29 ], [ 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 
      14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10 ], 
  [ 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 
      40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38 ], [ 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 
      23, 43, 16, 36, 9, 29, 2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47, 20, 40, 13, 33, 6, 26, 46, 19 ], 
  [ 20, 40, 13, 33, 6, 26, 46, 19, 39, 12, 32, 5, 25, 45, 18, 38, 11, 31, 4, 24, 44, 17, 37, 10, 30, 3, 23, 43, 16, 36, 9, 29, 
      2, 22, 42, 15, 35, 8, 28, 1, 21, 41, 14, 34, 7, 27, 47 ] ]);
QUANDLES[47].implemented := 29;
QUANDLES[47].rack[29] := rec( size := 47, matrix :=
[ [ 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 
      47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19 ], [ 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 
      18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38 ], 
  [ 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 
      27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10 ], [ 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 
      45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29 ], 
  [ 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 
      18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1 ], [ 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 
      36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20 ], 
  [ 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 
      9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39 ], [ 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 
      27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11 ], 
  [ 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 
      47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30 ], [ 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 
      18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2 ], 
  [ 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 
      9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21 ], [ 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 
      27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40 ], 
  [ 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 
      29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12 ], [ 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 
      47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31 ], 
  [ 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 
      20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3 ], [ 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 
      38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22 ], 
  [ 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 
      11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41 ], [ 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 
      29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13 ], 
  [ 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 
      2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32 ], [ 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 
      20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4 ], 
  [ 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 
      40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23 ], [ 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 
      11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42 ], 
  [ 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 
      31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14 ], [ 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 
      2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33 ], 
  [ 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 
      22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5 ], [ 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 
      40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24 ], 
  [ 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 
      13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43 ], [ 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 
      31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15 ], 
  [ 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 
      4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34 ], [ 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 
      22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6 ], 
  [ 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 
      13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25 ], [ 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 
      31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44 ], 
  [ 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 
      33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16 ], [ 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 
      22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35 ], 
  [ 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 
      24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7 ], [ 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 
      42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26 ], 
  [ 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 
      15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45 ], [ 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 
      33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17 ], 
  [ 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 
      6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36 ], [ 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 
      24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8 ], 
  [ 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 
      44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27 ], [ 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 
      15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46 ], 
  [ 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 
      35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18 ], [ 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 
      6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37 ], 
  [ 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 44, 
      26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9 ], [ 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47, 29, 11, 40, 22, 4, 33, 15, 
      44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 17, 46, 28 ], 
  [ 29, 11, 40, 22, 4, 33, 15, 44, 26, 8, 37, 19, 1, 30, 12, 41, 23, 5, 34, 16, 45, 27, 9, 38, 20, 2, 31, 13, 42, 24, 6, 35, 
      17, 46, 28, 10, 39, 21, 3, 32, 14, 43, 25, 7, 36, 18, 47 ] ]);
QUANDLES[47].implemented := 30;
QUANDLES[47].rack[30] := rec( size := 47, matrix :=
[ [ 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 
      16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13 ], [ 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 
      44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26 ], 
  [ 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 
      31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39 ], [ 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 
      12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5 ], 
  [ 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 
      45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18 ], [ 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 
      26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31 ], 
  [ 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 
      24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44 ], [ 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 
      17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10 ], 
  [ 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 
      3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23 ], [ 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 
      43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36 ], 
  [ 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 
      41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2 ], [ 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 
      22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15 ], 
  [ 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 
      20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28 ], [ 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 
      1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41 ], 
  [ 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 
      34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7 ], [ 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 
      15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20 ], 
  [ 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 
      13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33 ], [ 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 
      6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46 ], 
  [ 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 
      39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12 ], [ 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 
      32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25 ], 
  [ 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 
      30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38 ], [ 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 
      11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4 ], 
  [ 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 
      9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17 ], [ 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 
      37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30 ], 
  [ 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 
      23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43 ], [ 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 
      4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9 ], 
  [ 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 
      2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22 ], [ 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 
      42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35 ], 
  [ 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 
      28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1 ], [ 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 
      9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14 ], 
  [ 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 
      19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27 ], [ 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 
      47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40 ], 
  [ 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 
      33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6 ], [ 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 
      14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19 ], 
  [ 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 
      12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32 ], [ 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 
      40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45 ], 
  [ 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 
      38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11 ], [ 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 
      31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24 ], 
  [ 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 
      29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37 ], [ 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 
      10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3 ], 
  [ 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 
      8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16 ], [ 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 
      36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29 ], 
  [ 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 
      22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42 ], [ 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 
      3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8 ], 
  [ 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 
      1, 36, 24, 12, 47, 35, 23, 11, 46, 34, 22, 10, 45, 33, 21 ], [ 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 
      41, 29, 17, 5, 40, 28, 16, 4, 39, 27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47, 35, 23, 11, 46, 34 ], 
  [ 35, 23, 11, 46, 34, 22, 10, 45, 33, 21, 9, 44, 32, 20, 8, 43, 31, 19, 7, 42, 30, 18, 6, 41, 29, 17, 5, 40, 28, 16, 4, 39, 
      27, 15, 3, 38, 26, 14, 2, 37, 25, 13, 1, 36, 24, 12, 47 ] ]);
QUANDLES[47].implemented := 31;
QUANDLES[47].rack[31] := rec( size := 47, matrix :=
[ [ 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 
      11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9 ], [ 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 
      30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18 ], 
  [ 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 
      45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27 ], [ 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 
      25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36 ], 
  [ 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 
      16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45 ], [ 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 
      35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7 ], 
  [ 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 
      42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16 ], [ 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 
      14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25 ], 
  [ 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 
      5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34 ], [ 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 
      24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43 ], 
  [ 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 
      23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5 ], [ 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 
      42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14 ], 
  [ 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 
      41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23 ], [ 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 
      13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32 ], 
  [ 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 
      20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41 ], [ 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 
      39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3 ], 
  [ 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 
      30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12 ], [ 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 
      10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21 ], 
  [ 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 
      1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30 ], [ 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 
      20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39 ], 
  [ 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 
      19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1 ], [ 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 
      38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10 ], 
  [ 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 
      37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19 ], [ 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 
      17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28 ], 
  [ 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 
      8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37 ], [ 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 
      27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46 ], 
  [ 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 
      26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8 ], [ 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 
      45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17 ], 
  [ 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 
      44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26 ], [ 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 
      16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35 ], 
  [ 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 
      15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44 ], [ 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 
      34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6 ], 
  [ 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 
      41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15 ], [ 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 
      13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24 ], 
  [ 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 
      12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33 ], [ 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 
      31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42 ], 
  [ 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 
      22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4 ], [ 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 
      41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13 ], 
  [ 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 
      40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22 ], [ 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 
      20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31 ], 
  [ 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 
      11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40 ], [ 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 
      30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2 ], 
  [ 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 
      29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11 ], [ 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 
      1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20 ], 
  [ 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 
      47, 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29 ], [ 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 
      27, 19, 11, 3, 42, 34, 26, 18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47, 39, 31, 23, 15, 7, 46, 38 ], 
  [ 39, 31, 23, 15, 7, 46, 38, 30, 22, 14, 6, 45, 37, 29, 21, 13, 5, 44, 36, 28, 20, 12, 4, 43, 35, 27, 19, 11, 3, 42, 34, 26, 
      18, 10, 2, 41, 33, 25, 17, 9, 1, 40, 32, 24, 16, 8, 47 ] ]);
QUANDLES[47].implemented := 32;
QUANDLES[47].rack[32] := rec( size := 47, matrix :=
[ [ 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 
      39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22 ], [ 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 
      5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44 ], 
  [ 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 
      31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19 ], [ 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 
      44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41 ], 
  [ 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 
      28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16 ], [ 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 
      41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38 ], 
  [ 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 
      46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13 ], [ 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 
      12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35 ], 
  [ 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 
      22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10 ], [ 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 
      35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32 ], 
  [ 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 
      19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7 ], [ 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 
      32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29 ], 
  [ 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 
      16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4 ], [ 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 
      29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26 ], 
  [ 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 
      13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1 ], [ 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 
      26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23 ], 
  [ 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 
      10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45 ], [ 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 
      23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20 ], 
  [ 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 
      7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42 ], [ 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 
      20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17 ], 
  [ 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 
      25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39 ], [ 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 
      38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14 ], 
  [ 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 
      1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36 ], [ 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 
      14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11 ], 
  [ 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 
      45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33 ], [ 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 
      11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8 ], 
  [ 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 
      42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30 ], [ 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 
      29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5 ], 
  [ 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 
      39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27 ], [ 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 
      5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2 ], 
  [ 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 
      10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24 ], [ 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 
      23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46 ], 
  [ 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 
      33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21 ], [ 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 
      20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43 ], 
  [ 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 
      4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18 ], [ 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 
      17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40 ], 
  [ 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 
      27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15 ], [ 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 
      14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37 ], 
  [ 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 
      24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12 ], [ 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 
      37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34 ], 
  [ 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 
      21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9 ], [ 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 
      34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31 ], 
  [ 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 
      18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6 ], [ 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 
      31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28 ], 
  [ 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 
      15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3 ], [ 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 
      28, 7, 33, 12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47, 26, 5, 31, 10, 36, 15, 41, 20, 46, 25 ], 
  [ 26, 5, 31, 10, 36, 15, 41, 20, 46, 25, 4, 30, 9, 35, 14, 40, 19, 45, 24, 3, 29, 8, 34, 13, 39, 18, 44, 23, 2, 28, 7, 33, 
      12, 38, 17, 43, 22, 1, 27, 6, 32, 11, 37, 16, 42, 21, 47 ] ]);
QUANDLES[47].implemented := 33;
QUANDLES[47].rack[33] := rec( size := 47, matrix :=
[ [ 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 
      42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15 ], [ 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 
      18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30 ], 
  [ 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 
      6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45 ], [ 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 
      15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13 ], 
  [ 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 
      36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28 ], [ 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 
      45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43 ], 
  [ 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 
      19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11 ], [ 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 
      28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26 ], 
  [ 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 
      2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41 ], [ 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 
      11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9 ], 
  [ 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 
      32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24 ], [ 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 
      41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39 ], 
  [ 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 
      15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7 ], [ 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 
      24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22 ], 
  [ 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 
      45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37 ], [ 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 
      7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5 ], 
  [ 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 
      28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20 ], [ 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 
      37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35 ], 
  [ 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 
      11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3 ], [ 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 
      20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18 ], 
  [ 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 
      41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33 ], [ 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 
      17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1 ], 
  [ 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 
      38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16 ], [ 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 
      47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31 ], 
  [ 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 
      7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46 ], [ 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 
      16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14 ], 
  [ 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 
      4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29 ], [ 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 
      13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44 ], 
  [ 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 
      20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12 ], [ 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 
      29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27 ], 
  [ 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 
      3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42 ], [ 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 
      12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10 ], 
  [ 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 
      33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25 ], [ 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 
      42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40 ], 
  [ 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 
      16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8 ], [ 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 
      25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23 ], 
  [ 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 
      46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38 ], [ 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 
      8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6 ], 
  [ 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 
      29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21 ], [ 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 
      38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36 ], 
  [ 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 
      12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4 ], [ 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 
      21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19 ], 
  [ 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 
      42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34 ], [ 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32, 
      18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2 ], 
  [ 3, 36, 22, 8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 
      39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17 ], [ 18, 4, 37, 23, 9, 42, 28, 14, 47, 33, 19, 5, 38, 24, 10, 43, 29, 
      15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 8, 41, 27, 13, 46, 32 ], 
  [ 33, 19, 5, 38, 24, 10, 43, 29, 15, 1, 34, 20, 6, 39, 25, 11, 44, 30, 16, 2, 35, 21, 7, 40, 26, 12, 45, 31, 17, 3, 36, 22, 
      8, 41, 27, 13, 46, 32, 18, 4, 37, 23, 9, 42, 28, 14, 47 ] ]);
QUANDLES[47].implemented := 34;
QUANDLES[47].rack[34] := rec( size := 47, matrix :=
[ [ 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 
      44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26 ], [ 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 
      19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5 ], 
  [ 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 
      5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31 ], [ 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 
      27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10 ], 
  [ 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 
      10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36 ], [ 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 
      32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15 ], 
  [ 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 
      15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41 ], [ 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 
      37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20 ], 
  [ 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 
      20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46 ], [ 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 
      42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25 ], 
  [ 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 
      25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4 ], [ 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 
      47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30 ], 
  [ 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 
      30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9 ], [ 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 
      5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35 ], 
  [ 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 
      35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14 ], [ 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 
      10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40 ], 
  [ 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 
      40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19 ], [ 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 
      15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45 ], 
  [ 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 
      45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24 ], [ 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 
      20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3 ], 
  [ 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 
      28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29 ], [ 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 
      3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8 ], 
  [ 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 
      33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34 ], [ 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 
      8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13 ], 
  [ 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 
      13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39 ], [ 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 
      35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18 ], 
  [ 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 
      18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44 ], [ 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 
      40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23 ], 
  [ 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 
      23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2 ], [ 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 
      45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28 ], 
  [ 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 
      28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7 ], [ 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 
      3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33 ], 
  [ 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 
      33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12 ], [ 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 
      8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38 ], 
  [ 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 
      38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17 ], [ 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 
      13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43 ], 
  [ 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 
      43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22 ], [ 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 
      18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1 ], 
  [ 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 
      1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27 ], [ 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 
      23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6 ], 
  [ 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 
      31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32 ], [ 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 
      6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11 ], 
  [ 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 
      11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37 ], [ 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 
      33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16 ], 
  [ 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 
      16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42 ], [ 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47, 22, 44, 19, 41, 16, 
      38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 21 ], 
  [ 22, 44, 19, 41, 16, 38, 13, 35, 10, 32, 7, 29, 4, 26, 1, 23, 45, 20, 42, 17, 39, 14, 36, 11, 33, 8, 30, 5, 27, 2, 24, 46, 
      21, 43, 18, 40, 15, 37, 12, 34, 9, 31, 6, 28, 3, 25, 47 ] ]);
QUANDLES[47].implemented := 35;
QUANDLES[47].rack[35] := rec( size := 47, matrix :=
[ [ 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 
      41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33 ], [ 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 
      20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19 ], 
  [ 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 
      30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5 ], [ 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 
      9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38 ], 
  [ 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 
      34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24 ], [ 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 
      13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10 ], 
  [ 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 
      21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43 ], [ 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 
      47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29 ], 
  [ 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 
      40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15 ], [ 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 
      19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1 ], 
  [ 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 
      12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34 ], [ 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 
      38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20 ], 
  [ 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 
      16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6 ], [ 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 
      42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39 ], 
  [ 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 
      3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25 ], [ 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 
      29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11 ], 
  [ 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 
      22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44 ], [ 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 
      1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30 ], 
  [ 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 
      41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16 ], [ 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 
      20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2 ], 
  [ 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 
      45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35 ], [ 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 
      24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21 ], 
  [ 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 
      17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7 ], [ 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 
      43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40 ], 
  [ 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 
      4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26 ], [ 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 
      30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12 ], 
  [ 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 
      23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45 ], [ 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 
      2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31 ], 
  [ 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 
      42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17 ], [ 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 
      21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3 ], 
  [ 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 
      46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36 ], [ 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 
      10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22 ], 
  [ 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 
      33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8 ], [ 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 
      12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41 ], 
  [ 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 
      5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27 ], [ 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 
      31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13 ], 
  [ 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 
      24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46 ], [ 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 
      3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32 ], 
  [ 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 
      43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18 ], [ 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 
      22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4 ], 
  [ 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 
      47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37 ], [ 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 
      11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23 ], 
  [ 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 
      34, 2, 17, 32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9 ], [ 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 
      13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42 ], 
  [ 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 
      6, 21, 36, 4, 19, 34, 2, 17, 32, 47, 15, 30, 45, 13, 28 ], [ 29, 44, 12, 27, 42, 10, 25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 
      32, 47, 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14 ], 
  [ 15, 30, 45, 13, 28, 43, 11, 26, 41, 9, 24, 39, 7, 22, 37, 5, 20, 35, 3, 18, 33, 1, 16, 31, 46, 14, 29, 44, 12, 27, 42, 10, 
      25, 40, 8, 23, 38, 6, 21, 36, 4, 19, 34, 2, 17, 32, 47 ] ]);
QUANDLES[47].implemented := 36;
QUANDLES[47].rack[36] := rec( size := 47, matrix :=
[ [ 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 
      12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38 ], [ 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 
      14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29 ], 
  [ 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 
      21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20 ], [ 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 
      13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11 ], 
  [ 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 
      3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2 ], [ 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 
      5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40 ], 
  [ 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 
      32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31 ], [ 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 
      34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22 ], 
  [ 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 
      14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13 ], [ 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 
      6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4 ], 
  [ 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 
      33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42 ], [ 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 
      35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33 ], 
  [ 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 
      25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24 ], [ 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 
      27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15 ], 
  [ 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 
      7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6 ], [ 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 
      9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44 ], 
  [ 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 
      26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35 ], [ 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 
      28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26 ], 
  [ 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 
      18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17 ], [ 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 
      20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8 ], 
  [ 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 
      37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46 ], [ 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 
      29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37 ], 
  [ 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 
      29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28 ], [ 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 
      31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19 ], 
  [ 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 
      11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10 ], [ 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 
      3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1 ], 
  [ 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 
      30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39 ], [ 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 
      32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30 ], 
  [ 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 
      22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21 ], [ 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 
      24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12 ], 
  [ 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 
      4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3 ], [ 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 
      6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41 ], 
  [ 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 
      23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32 ], [ 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 
      25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23 ], 
  [ 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 
      15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14 ], [ 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 
      17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5 ], 
  [ 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 
      44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43 ], [ 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 
      36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34 ], 
  [ 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 
      26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25 ], [ 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 
      28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16 ], 
  [ 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 
      8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7 ], [ 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 
      10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45 ], 
  [ 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 
      37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36 ], [ 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 
      29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27 ], 
  [ 28, 38, 1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 
      19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18 ], [ 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 1, 11, 
      21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47, 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9 ], 
  [ 10, 20, 30, 40, 3, 13, 23, 33, 43, 6, 16, 26, 36, 46, 9, 19, 29, 39, 2, 12, 22, 32, 42, 5, 15, 25, 35, 45, 8, 18, 28, 38, 
      1, 11, 21, 31, 41, 4, 14, 24, 34, 44, 7, 17, 27, 37, 47 ] ]);
QUANDLES[47].implemented := 37;
QUANDLES[47].rack[37] := rec( size := 47, matrix :=
[ [ 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 
      24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10 ], [ 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 
      10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20 ], 
  [ 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 
      15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30 ], [ 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 
      1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40 ], 
  [ 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 
      35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3 ], [ 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 
      21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13 ], 
  [ 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 
      8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23 ], [ 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 
      41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33 ], 
  [ 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 
      28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43 ], [ 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 
      14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6 ], 
  [ 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 
      10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16 ], [ 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 
      43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26 ], 
  [ 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 
      21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36 ], [ 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 
      7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46 ], 
  [ 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 
      41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9 ], [ 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 
      27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19 ], 
  [ 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 
      14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29 ], [ 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 
      47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39 ], 
  [ 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 
      34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2 ], [ 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 
      20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12 ], 
  [ 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 
      7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22 ], [ 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 
      40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32 ], 
  [ 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 
      27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42 ], [ 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 
      13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5 ], 
  [ 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 
      9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15 ], [ 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 
      42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25 ], 
  [ 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 
      20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35 ], [ 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 
      6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45 ], 
  [ 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 
      40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8 ], [ 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 
      26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18 ], 
  [ 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 
      13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28 ], [ 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 
      46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38 ], 
  [ 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 
      33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1 ], [ 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 
      19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11 ], 
  [ 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 
      6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21 ], [ 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 
      39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31 ], 
  [ 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 
      26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41 ], [ 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 
      12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4 ], 
  [ 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 
      8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14 ], [ 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 
      41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24 ], 
  [ 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 
      19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34 ], [ 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 
      5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44 ], 
  [ 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 
      39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7 ], [ 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 
      25, 16, 7, 45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17 ], 
  [ 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 
      12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27 ], [ 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 32, 23, 14, 5, 43, 34, 25, 16, 7, 
      45, 36, 27, 18, 9, 47, 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37 ], 
  [ 38, 29, 20, 11, 2, 40, 31, 22, 13, 4, 42, 33, 24, 15, 6, 44, 35, 26, 17, 8, 46, 37, 28, 19, 10, 1, 39, 30, 21, 12, 3, 41, 
      32, 23, 14, 5, 43, 34, 25, 16, 7, 45, 36, 27, 18, 9, 47 ] ]);
QUANDLES[47].implemented := 38;
QUANDLES[47].rack[38] := rec( size := 47, matrix :=
[ [ 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 
      32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7 ], [ 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 
      23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14 ], 
  [ 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 
      11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21 ], [ 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 
      2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28 ], 
  [ 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 
      25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35 ], [ 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 
      22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42 ], 
  [ 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 
      39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2 ], [ 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 
      30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9 ], 
  [ 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 
      6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16 ], [ 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 
      44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23 ], 
  [ 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 
      20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30 ], [ 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 
      11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37 ], 
  [ 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 
      40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44 ], [ 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 
      31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4 ], 
  [ 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 
      1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11 ], [ 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 
      45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18 ], 
  [ 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 
      21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25 ], [ 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 
      12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32 ], 
  [ 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 
      29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39 ], [ 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 
      26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46 ], 
  [ 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 
      43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6 ], [ 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 
      34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13 ], 
  [ 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 
      10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20 ], [ 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 
      1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27 ], 
  [ 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 
      24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34 ], [ 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 
      21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41 ], 
  [ 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 
      38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1 ], [ 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 
      29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8 ], 
  [ 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 
      5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15 ], [ 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 
      43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22 ], 
  [ 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 
      19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29 ], [ 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 
      16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36 ], 
  [ 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 
      39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43 ], [ 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 
      30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3 ], 
  [ 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 
      47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10 ], [ 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 
      44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17 ], 
  [ 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 
      14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24 ], [ 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 
      5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31 ], 
  [ 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 
      34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38 ], [ 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 
      25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45 ], 
  [ 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 
      42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5 ], [ 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 
      39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12 ], 
  [ 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 
      15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19 ], [ 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 
      6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26 ], 
  [ 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 
      23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33 ], [ 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 
      20, 14, 8, 2, 43, 37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47, 41, 35, 29, 23, 17, 11, 5, 46, 40 ], 
  [ 41, 35, 29, 23, 17, 11, 5, 46, 40, 34, 28, 22, 16, 10, 4, 45, 39, 33, 27, 21, 15, 9, 3, 44, 38, 32, 26, 20, 14, 8, 2, 43, 
      37, 31, 25, 19, 13, 7, 1, 42, 36, 30, 24, 18, 12, 6, 47 ] ]);
QUANDLES[47].implemented := 39;
QUANDLES[47].rack[39] := rec( size := 47, matrix :=
[ [ 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 
      6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5 ], [ 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 
      16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10 ], 
  [ 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 
      24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15 ], [ 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 
      34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20 ], 
  [ 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 
      38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25 ], [ 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 
      1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30 ], 
  [ 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 
      44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35 ], [ 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 
      11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40 ], 
  [ 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 
      7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45 ], [ 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 
      17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3 ], 
  [ 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 
      21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8 ], [ 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 
      31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13 ], 
  [ 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 
      27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18 ], [ 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 
      37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23 ], 
  [ 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 
      37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28 ], [ 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 
      47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33 ], 
  [ 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 
      47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38 ], [ 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 
      14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43 ], 
  [ 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 
      10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1 ], [ 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 
      20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6 ], 
  [ 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 
      20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11 ], [ 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 
      30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16 ], 
  [ 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 
      34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21 ], [ 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 
      44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26 ], 
  [ 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 
      40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31 ], [ 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 
      7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36 ], 
  [ 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 
      3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41 ], [ 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 
      17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46 ], 
  [ 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 
      13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4 ], [ 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 
      23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9 ], 
  [ 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 
      23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14 ], [ 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 
      33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19 ], 
  [ 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 
      33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24 ], [ 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 
      43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29 ], 
  [ 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 
      43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34 ], [ 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 
      10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39 ], 
  [ 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 
      6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44 ], [ 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 
      16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2 ], 
  [ 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 
      16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7 ], [ 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 
      26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12 ], 
  [ 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 
      30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17 ], [ 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 
      40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22 ], 
  [ 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 
      36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27 ], [ 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 
      46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32 ], 
  [ 33, 29, 25, 21, 17, 13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 
      46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37 ], [ 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 
      13, 9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47, 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42 ], 
  [ 43, 39, 35, 31, 27, 23, 19, 15, 11, 7, 3, 46, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 45, 41, 37, 33, 29, 25, 21, 17, 13, 
      9, 5, 1, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 47 ] ]);
QUANDLES[47].implemented := 40;
QUANDLES[47].rack[40] := rec( size := 47, matrix :=
[ [ 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 
      20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35 ], [ 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 
      27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23 ], 
  [ 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 
      17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11 ], [ 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 
      24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46 ], 
  [ 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 
      40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34 ], [ 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 
      47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22 ], 
  [ 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 
      16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10 ], [ 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 
      10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45 ], 
  [ 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 
      39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33 ], [ 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 
      46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21 ], 
  [ 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 
      2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9 ], [ 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 
      9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44 ], 
  [ 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 
      38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32 ], [ 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 
      45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20 ], 
  [ 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 
      14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8 ], [ 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 
      21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43 ], 
  [ 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 
      37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31 ], [ 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 
      44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19 ], 
  [ 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 
      13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7 ], [ 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 
      20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42 ], 
  [ 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 
      36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30 ], [ 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 
      43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18 ], 
  [ 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 
      12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6 ], [ 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 
      19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41 ], 
  [ 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 
      35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29 ], [ 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 
      42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17 ], 
  [ 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 
      11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5 ], [ 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 
      18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40 ], 
  [ 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 
      34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28 ], [ 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 
      28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16 ], 
  [ 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 
      10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4 ], [ 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 
      17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39 ], 
  [ 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 
      33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27 ], [ 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 
      40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15 ], 
  [ 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 
      9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3 ], [ 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 
      16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38 ], 
  [ 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 
      32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26 ], [ 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 
      26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14 ], 
  [ 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 
      8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2 ], [ 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 
      15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37 ], 
  [ 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 
      31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25 ], [ 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 
      25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13 ], 
  [ 14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 
      7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1 ], [ 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 
      14, 27, 40, 6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36 ], 
  [ 37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 
      30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24 ], [ 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 6, 19, 32, 45, 11, 24, 
      37, 3, 16, 29, 42, 8, 21, 34, 47, 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12 ], 
  [ 13, 26, 39, 5, 18, 31, 44, 10, 23, 36, 2, 15, 28, 41, 7, 20, 33, 46, 12, 25, 38, 4, 17, 30, 43, 9, 22, 35, 1, 14, 27, 40, 
      6, 19, 32, 45, 11, 24, 37, 3, 16, 29, 42, 8, 21, 34, 47 ] ]);
QUANDLES[47].implemented := 41;
QUANDLES[47].rack[41] := rec( size := 47, matrix :=
[ [ 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 
      45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8 ], [ 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 
      3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16 ], 
  [ 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 
      28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24 ], [ 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 
      33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32 ], 
  [ 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 
      44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40 ], [ 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 
      2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1 ], 
  [ 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 
      20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9 ], [ 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 
      25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17 ], 
  [ 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 
      29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25 ], [ 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 
      34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33 ], 
  [ 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 
      45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41 ], [ 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 
      10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2 ], 
  [ 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 
      21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10 ], [ 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 
      26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18 ], 
  [ 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 
      30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26 ], [ 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 
      35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34 ], 
  [ 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 
      46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42 ], [ 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 
      4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3 ], 
  [ 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 
      22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11 ], [ 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 
      27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19 ], 
  [ 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 
      31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27 ], [ 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 
      36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35 ], 
  [ 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 
      7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43 ], [ 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 
      12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4 ], 
  [ 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 
      16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12 ], [ 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 
      21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20 ], 
  [ 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 
      32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28 ], [ 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 
      37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36 ], 
  [ 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 
      1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44 ], [ 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 
      6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5 ], 
  [ 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 
      17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13 ], [ 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 
      22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21 ], 
  [ 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 
      40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29 ], [ 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 
      45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37 ], 
  [ 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 
      2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45 ], [ 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 
      7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6 ], 
  [ 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 
      18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14 ], [ 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 
      23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22 ], 
  [ 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 
      34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30 ], [ 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 
      39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38 ], 
  [ 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 
      3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46 ], [ 47, 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 
      8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7 ], 
  [ 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 
      26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15 ], [ 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 
      31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23 ], 
  [ 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 
      35, 28, 21, 14, 7, 47, 40, 33, 26, 19, 12, 5, 45, 38, 31 ], [ 32, 25, 18, 11, 4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47, 
      40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39 ], 
  [ 40, 33, 26, 19, 12, 5, 45, 38, 31, 24, 17, 10, 3, 43, 36, 29, 22, 15, 8, 1, 41, 34, 27, 20, 13, 6, 46, 39, 32, 25, 18, 11, 
      4, 44, 37, 30, 23, 16, 9, 2, 42, 35, 28, 21, 14, 7, 47 ] ]);
QUANDLES[47].implemented := 42;
QUANDLES[47].rack[42] := rec( size := 47, matrix :=
[ [ 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 
      46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37 ], [ 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 
      34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27 ], 
  [ 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 
      4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17 ], [ 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 
      39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7 ], 
  [ 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 
      31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44 ], [ 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 
      19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34 ], 
  [ 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 
      11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24 ], [ 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 
      46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14 ], 
  [ 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 
      38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4 ], [ 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 
      26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41 ], 
  [ 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 
      18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31 ], [ 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 
      6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21 ], 
  [ 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 
      45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11 ], [ 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 
      33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1 ], 
  [ 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 
      25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38 ], [ 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 
      13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28 ], 
  [ 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 
      5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18 ], [ 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 
      40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8 ], 
  [ 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 
      21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45 ], [ 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 
      9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35 ], 
  [ 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 
      12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25 ], [ 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 
      47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15 ], 
  [ 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 
      39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5 ], [ 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 
      27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42 ], 
  [ 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 
      19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32 ], [ 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 
      43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22 ], 
  [ 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 
      46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12 ], [ 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 
      34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2 ], 
  [ 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 
      26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39 ], [ 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 
      14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29 ], 
  [ 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 
      6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19 ], [ 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 
      41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9 ], 
  [ 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 
      33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46 ], [ 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 
      21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36 ], 
  [ 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 
      2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26 ], [ 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 
      37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16 ], 
  [ 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 
      40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6 ], [ 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 
      28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43 ], 
  [ 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 
      20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33 ], [ 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 
      44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23 ], 
  [ 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 
      47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13 ], [ 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 
      35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3 ], 
  [ 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 
      16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40 ], [ 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 
      40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30 ], 
  [ 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 
      7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20 ], [ 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 34, 45, 9, 20, 31, 
      42, 6, 17, 28, 39, 3, 14, 25, 36, 47, 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10 ], 
  [ 11, 22, 33, 44, 8, 19, 30, 41, 5, 16, 27, 38, 2, 13, 24, 35, 46, 10, 21, 32, 43, 7, 18, 29, 40, 4, 15, 26, 37, 1, 12, 23, 
      34, 45, 9, 20, 31, 42, 6, 17, 28, 39, 3, 14, 25, 36, 47 ] ]);
QUANDLES[47].implemented := 43;
QUANDLES[47].rack[43] := rec( size := 47, matrix :=
[ [ 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 
      31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25 ], [ 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 
      16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3 ], 
  [ 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 
      35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28 ], [ 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 
      19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6 ], 
  [ 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 
      15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31 ], [ 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 
      46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9 ], 
  [ 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 
      17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34 ], [ 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 
      25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12 ], 
  [ 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 
      20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37 ], [ 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 
      5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15 ], 
  [ 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 
      47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40 ], [ 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 
      9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18 ], 
  [ 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 
      27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43 ], [ 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 
      12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21 ], 
  [ 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 
      30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46 ], [ 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 
      38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24 ], 
  [ 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 
      33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2 ], [ 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 
      17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27 ], 
  [ 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 
      36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5 ], [ 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 
      20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30 ], 
  [ 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 
      15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8 ], [ 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 
      46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33 ], 
  [ 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 
      41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11 ], [ 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 
      2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36 ], 
  [ 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 
      44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14 ], [ 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 
      29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39 ], 
  [ 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 
      24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17 ], [ 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 
      33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42 ], 
  [ 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 
      4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20 ], [ 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 
      36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45 ], 
  [ 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 
      7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23 ], [ 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 
      15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1 ], 
  [ 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 
      10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26 ], [ 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 
      41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4 ], 
  [ 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 
      13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29 ], [ 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 
      44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7 ], 
  [ 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 
      39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32 ], [ 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 
      23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10 ], 
  [ 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 
      18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35 ], [ 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 
      26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13 ], 
  [ 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 
      21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38 ], [ 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 
      6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16 ], 
  [ 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 
      1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41 ], [ 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 
      10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44, 20, 43, 19 ], 
  [ 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 
      28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22, 45, 21, 44 ], [ 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 
      13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47, 23, 46, 22 ], 
  [ 23, 46, 22, 45, 21, 44, 20, 43, 19, 42, 18, 41, 17, 40, 16, 39, 15, 38, 14, 37, 13, 36, 12, 35, 11, 34, 10, 33, 9, 32, 8, 
      31, 7, 30, 6, 29, 5, 28, 4, 27, 3, 26, 2, 25, 1, 24, 47 ] ]);
QUANDLES[47].implemented := 44;
QUANDLES[47].rack[44] := rec( size := 47, matrix :=
[ [ 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 
      21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17 ], [ 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 
      11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34 ], 
  [ 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 
      9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4 ], [ 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 
      30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21 ], 
  [ 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 
      27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38 ], [ 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 
      17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8 ], 
  [ 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 
      14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25 ], [ 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 
      20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42 ], 
  [ 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 
      1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12 ], [ 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 
      7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29 ], 
  [ 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 
      35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46 ], [ 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 
      41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16 ], 
  [ 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 
      38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33 ], [ 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 
      28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3 ], 
  [ 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 
      25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20 ], [ 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 
      46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37 ], 
  [ 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 
      43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7 ], [ 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 
      17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24 ], 
  [ 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 
      30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41 ], [ 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 
      36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11 ], 
  [ 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 
      17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28 ], [ 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 
      23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45 ], 
  [ 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 
      4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15 ], [ 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 
      10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32 ], 
  [ 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 
      7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2 ], [ 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 
      44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19 ], 
  [ 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 
      41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36 ], [ 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 
      15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6 ], 
  [ 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 
      12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23 ], [ 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 
      2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40 ], 
  [ 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 
      46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10 ], [ 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 
      5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27 ], 
  [ 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 
      33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44 ], [ 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 
      39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14 ], 
  [ 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 
      20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31 ], [ 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 
      26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1 ], 
  [ 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 
      23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18 ], [ 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 
      13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35 ], 
  [ 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 
      10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5 ], [ 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 
      31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22 ], 
  [ 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 
      28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39 ], [ 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 
      18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9 ], 
  [ 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 
      15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26 ], [ 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 
      21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43 ], 
  [ 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 
      2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30, 14, 45, 29, 13 ], [ 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 
      8, 39, 23, 7, 38, 22, 6, 37, 21, 5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47, 31, 15, 46, 30 ], 
  [ 31, 15, 46, 30, 14, 45, 29, 13, 44, 28, 12, 43, 27, 11, 42, 26, 10, 41, 25, 9, 40, 24, 8, 39, 23, 7, 38, 22, 6, 37, 21, 
      5, 36, 20, 4, 35, 19, 3, 34, 18, 2, 33, 17, 1, 32, 16, 47 ] ]);
QUANDLES[47].implemented := 45;
QUANDLES[47].rack[45] := rec( size := 47, matrix :=
[ [ 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 
      35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43 ], [ 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 
      8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39 ], 
  [ 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 
      17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35 ], [ 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 
      37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31 ], 
  [ 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 
      4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27 ], [ 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 
      29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23 ], 
  [ 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 
      43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19 ], [ 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 
      21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15 ], 
  [ 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 
      35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11 ], [ 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 
      13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7 ], 
  [ 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 
      27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3 ], [ 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 
      5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46 ], 
  [ 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 
      19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42 ], [ 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 
      44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38 ], 
  [ 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 
      11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34 ], [ 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 
      36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30 ], 
  [ 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 
      3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26 ], [ 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 
      28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22 ], 
  [ 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 
      37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18 ], [ 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 
      15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14 ], 
  [ 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 
      34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10 ], [ 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 
      12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6 ], 
  [ 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 
      26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2 ], [ 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 
      4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45 ], 
  [ 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 
      18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41 ], [ 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 
      38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37 ], 
  [ 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 
      5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33 ], [ 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 
      30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29 ], 
  [ 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 
      44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25 ], [ 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 
      22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21 ], 
  [ 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 
      41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17 ], [ 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 
      19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13 ], 
  [ 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 
      33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9 ], [ 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 
      11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5 ], 
  [ 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 
      25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1 ], [ 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 
      3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44 ], 
  [ 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 
      12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40 ], [ 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 
      32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36 ], 
  [ 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 
      9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32 ], [ 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 
      34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28 ], 
  [ 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 
      1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24 ], [ 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 
      26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20 ], 
  [ 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 
      40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16 ], [ 17, 22, 27, 32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 
      18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12 ], 
  [ 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 
      32, 37, 42, 47, 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8 ], [ 9, 14, 19, 24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47, 5, 
      10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4 ], 
  [ 5, 10, 15, 20, 25, 30, 35, 40, 45, 3, 8, 13, 18, 23, 28, 33, 38, 43, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 4, 9, 14, 19, 
      24, 29, 34, 39, 44, 2, 7, 12, 17, 22, 27, 32, 37, 42, 47 ] ]);

